import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;

import javax.imageio.ImageIO;


public class test {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		try {
			URL fileUrl = test.class.getClassLoader().getResource("F:\\EclipseWorkspace\\InteriorDecorationDesign\\images\\dm.jpg");
			ImageIO.read(fileUrl);
		} catch (MalformedURLException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

}
